{include file="admin/public/header" /}
<style type="text/css">
    #content-main{padding: 5px;}
</style>
<div class="aw-content-wrap">
   <div class="row">
            <div class="col-sm-12">

                <div class="ibox">
                    <div class="ibox-title">
                        <h5>组管理</h5>
                        <div class="ibox-tools">
                            <a href="/admin/nv/catedit.html" class="btn btn-primary btn-xs">添加分类</a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="project-list">

                            <table class="table table-hover">
                                <tbody>
                                   <tr>
                                   
                                   <td width="50px;"><input type="checkbox" class="chooseall"></td>
                                   <td width="50px;">id</td>
                                   <td >标题</td>
                                    <td >备注</td>
                                    
                                    <td >操作</td>
                                    </tr>
                                    <form action="" class="cmzForm">
                                    <?php foreach ($cats as $key => $v): ?>
                                    <tr>
                                    <td><input type="checkbox" name="id" class="checkbox1" value="{$v.id}"></td>
                                    <td>{$v.id}</td>
                                        <td >
                                           {$v.title}
                                        </td>

                                        <td >
                                         {$v.remark}
                                        </td>
                                       
                                        
                                        <td>
                                             <a class="btn btn-white btn-sm" href="{:url('/admin/nv/catedit',['id'=>$v['id']])}"> 修改 </a>
                                        </td>
                                    </tr>
                                <?php endforeach ?>     
                                </form>                           
                                    </tbody>
                                </table>
                                      <div class="mod-table-foot">
                                        <a class="btn btn-danger cmzdelmore" where="id" table="{:encode('nv_index_cat')}" >删除</a>
                                        <!-- <a class="btn btn-info cmzsort" table="{:encode('nv_index')}" where="id" >排序</a> -->
                                    </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


</div>
{include file="admin/public/footer" /}